package com.woniuxy.cloud52;

import com.woniuxy.cloud.ticket52.common.result.Result;
import com.woniuxy.cloud52.form.SeatForm;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

@FeignClient(value="cinema52",contextId = "Seat")
public interface SeatAPI {
    /**
     * 定座位
     * @param seatForm
     * @param
     * @return
     */
    @PostMapping("doseat")
    public Result doseat(@RequestBody SeatForm seatForm);
}
